const { data } = require('./data')
const { address } = require('./as')
const { dataSet } = require('./dataSet')
const http = require('http')

const server = http.createServer((request,response) => {
    response.setHeader('Access-Control-Allow-Origin','*')
    response.end(JSON.stringify(dataSet(address)))
})
server.listen(8899)